package com.imut.onlinebanking.xrh.mapper;

import com.imut.onlinebanking.xrh.pojo.entity.Account;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface xrhMapper {
    public List<Account> selectByAccountId(String id);

    int updateBalance(@Param("accountId")  String accountId, @Param("balance") String balance);

    public List<Account> selectByAccount();
}
